home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat4 / dmedia / smp.z / smp
Encoding:
Text File  |  2002-10-03  |  5.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ssssmmmmpppp((((4444))))                                                                  ssssmmmmpppp((((4444))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      smp, SampleVision - Sample Vision Audio File Format
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////aaaauuuuddddiiiiooooffffiiiilllleeee....hhhh>>>>
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The Audio File Library currently supports 13 of the commonly found audio
  16.      file formats, i.e., is able to recognize, read, and write sample data and
  17.      header information to and from files in these formats.  It is important
  18.      not to confuse _s_a_m_p_l_e or _a_u_d_i_o _d_a_t_a _f_o_r_m_a_t_s with _f_i_l_e _f_o_r_m_a_t_s.  The
  19.      former refers to the bit-wise organization of the sound samples in the
  20.      file, i.e., whether the format is 8-bit integer or 16-bit unsigned, etc.
  21.      Audio file format refers to the structure of the _a_u_d_i_o _f_i_l_e _h_e_a_d_e_r, the
  22.      chunk of on-disk data which preceeds the samples and which provides
  23.      information about the file to the audio program.  A single audio file
  24.      format may support a large variety of sample formats.
  25.  
  26.      The SSSSaaaammmmpppplllleeee VVVViiiissssiiiioooonnnn FFFFiiiilllleeee FFFFoooorrrrmmmmaaaatttt ((((ssssmmmmpppp)))) was developed for use with the Sample
  27.      Vision software program, which was designed to send and receive samples
  28.      via the MIDI interface on a PC.  It consists of a variable-length header
  29.      followed by a contiguous block of binary data representing the sound
  30.      samples.
  31.  
  32. DDDDAAAATTTTAAAA FFFFOOOORRRRMMMMAAAATTTT SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNNSSSS
  33.      SSSSaaaammmmpppplllleeee FFFFoooorrrrmmmmaaaattttssss::::
  34.           Two's complement integer only.
  35.  
  36.      SSSSaaaammmmpppplllleeee WWWWiiiiddddtttthhhhssss::::
  37.           16 bit only.
  38.  
  39.      BBBByyyytttteeee OOOOrrrrddddeeeerrrrssss::::
  40.           Always littleendian.
  41.  
  42.      CCCChhhhaaaannnnnnnneeeellll CCCCoooouuuunnnnttttssss::::
  43.           1 channel only.
  44.  
  45.      CCCCoooommmmpppprrrreeeessssssssiiiioooonnnn FFFFoooorrrrmmmmaaaattttssss::::
  46.           None.
  47.  
  48. FFFFIIIILLLLEEEE FFFFOOOORRRRMMMMAAAATTTT SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNNSSSS
  49.      SMP file headers contain additional information.
  50.  
  51.      IIIInnnnssssttttrrrruuuummmmeeeennnntttt CCCCoooonnnnffffiiiigggguuuurrrraaaattttiiiioooonnnnssss::::
  52.           Maximum of 1 allowed.  Up to eight loops are allowed.  Instparams
  53.           associated with this inst:  AF_INST_MIDI_BASENOTE only.   See
  54.           aaaaffffSSSSeeeettttIIIInnnnssssttttPPPPaaaarrrraaaammmmLLLLoooonnnngggg(3dm) for more information about these parameters.
  55.  
  56.      MMMMaaaarrrrkkkkeeeerrrrssss::::
  57.           Unlike AAAAIIIIFFFFFFFF(3dm) and WWWWAAAAVVVVEEEE(3dm) files, there is no direct association
  58.           between markers and loops.  However, for backwards compatibility, an
  59.           application may choose to specify loop start and end points via the
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ssssmmmmpppp((((4444))))                                                                  ssssmmmmpppp((((4444))))
  71.  
  72.  
  73.  
  74.           traditional AIFF-style method using mark id's (aaaaffffSSSSeeeettttLLLLooooooooppppSSSSttttaaaarrrrtttt(3dm),
  75.           etc.) or via the newer aaaaffffSSSSeeeettttLLLLooooooooppppSSSSttttaaaarrrrttttFFFFrrrraaaammmmeeee(3dm) and related
  76.           routines.  In the former case, both the loops and the markers will
  77.           be written out to the header; in the latter case, only the loops
  78.           will be written out (unless other markers have been created).
  79.  
  80.      MMMMiiiisssscccceeeellllllllaaaannnneeeeoooouuuussss CCCChhhhuuuunnnnkkkkssss::::
  81.  
  82.                AAAAFFFF____MMMMIIIISSSSCCCC____NNNNAAAAMMMMEEEE        name string
  83.  
  84.                AAAAFFFF____MMMMIIIISSSSCCCC____CCCCOOOOMMMMMMMMEEEENNNNTTTT     comment string
  85.  
  86. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  87.      afInitFileFormat(3dm), afGetFileFormat(3dm), afIntro(3dm),
  88.      afSetLoopStart(3dm), afSetLoopEnd(3dm)
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.